package com.wisely.highlight_spring4.ch2.prepost;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

/**
 * @Author Mike
 * @Description //TODO JSR250
 * @Date 2018/11/22 21:58
 * @Param 
 * @return 
 **/

public class JSR250WayService {
    @PostConstruct
    public void init() {
        System.out.println("JSR250-init-method");
    }

    JSR250WayService(){
        super();
        System.out.println("初始化构造函数-JSR250WayService");
    }

    @PreDestroy
    public void destroy() {
        System.out.println("JSR250-destroy-method");
    }
}
